package com.situ.day8homework4;

public abstract class Ren {
	String name;
	String xingbie;
	int age;
	String guoji;
	
	
	
	public Ren() {
		super();
	}
	
	public Ren(String name, String xingbie, int age, String guoji) {
		super();
		this.name = name;
		this.xingbie = xingbie;
		this.age = age;
		this.guoji = guoji;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getXingbie() {
		return xingbie;
	}
	public void setXingbie(String xingbie) {
		this.xingbie = xingbie;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getGuoji() {
		return guoji;
	}
	public void setGuoji(String guoji) {
		this.guoji = guoji;
	}
	
	@Override
	public String toString() {
		return "Ren [name=" + name + ", xingbie=" + xingbie + ", age=" + age + ", guoji=" + guoji + "]";
	}
	
	public abstract void shifan();
	public abstract void shuijiao();
	public abstract void gongzuo();
}
